package howework;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class Test03 {
    public static void main(String[] args) {
        List<Integer> list =new ArrayList<>();
        Random random =new Random();
       while (true){
           int radom =(int)(Math.random()*100);
           list.add(radom);
           if (list.size()==10){
               break;
           }
       }
        System.out.println(list);
    }
}
